﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="bumenqunfa.aspx.cs" Inherits="qunfa" validateRequest="false" %>

<%@ Register Assembly="FreeTextBox" Namespace="FreeTextBoxControls" TagPrefix="FTB" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>部门群发</title>
    <link href="../css/textarea.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
<!--
body {
	margin-top: 2px;
}
-->
</style>

<style type="text/css"> 

div.RoundedCorner{background: #5AAE18} 

b.rtop, b.rbottom{display:block;background: #FFF} 

b.rtop b, b.rbottom b{display:block;height: 1px;overflow: hidden; background: #5AAE18} 

b.r1{margin: 0 4px} 

b.r2{margin: 0 3px} 

b.r3{margin: 0 2px} 

b.rtop b.r4, {margin: 0 1px;height: 1px}

.style1 {

	font-size: 13px;

	color: #FFFFFF;

font-weight: bold;

} 

</style>


</head>
<body>
<%
                    //取登陆人信息 
                    COM.OA.Entity.users loginuser =Session["loginuser"] as COM.OA.Entity.users;
                    //如果取不到跳转到登陆页
                    if (loginuser == null)
                    {
                        this.Response.Write(string.Format(GetRedirect.ALLREDIRECT, "../login.aspx"));
                    }
 %>
  <div class="RoundedCorner" style="text-align: center" > 
<b class="rtop"><b class="r1"></b><b class="r2"></b><b class="r3"></b><b class="r4"></b></b> <span class="style1">对 部 门 群 发</span></div>

    <form id="form1" runat="server">
    <div style="text-align: center">
        &nbsp;<asp:Label ID="Label1" runat="server" Text="接收人"></asp:Label>&nbsp;
        <asp:DropDownList ID="Dropbumen" runat="server" DataSourceID="SqlDataSource1" DataTextField="dept_department" DataValueField="dept_id">
        </asp:DropDownList><asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:OA_DBConnectionString3 %>"
            SelectCommand="SELECT [dept_id], [dept_department] FROM [department]"></asp:SqlDataSource>
        <asp:Label ID="Label2" runat="server" Text="标题"></asp:Label>
        <asp:TextBox ID="txtbiaoti" runat="server"></asp:TextBox><br />
        <ftb:freetextbox id="FreeTextBox1" runat="server"></ftb:freetextbox>
        <br />
        <asp:Button ID="btn_fasong" runat="server" Text="发送" OnClick="btn_fasong_Click" />&nbsp;
        <asp:Button ID="btn_chongxie" runat="server" OnClick="Button3_Click" Text="重写" />&nbsp;&nbsp;<br />
        &nbsp;
        &nbsp;&nbsp;</div>
    </form>
</body>
</html>
